Skip to content

RUBY-3731 Run ruby-dev build on a bi-weekly schedule#3068

Merged
comandeo-mongo merged 1 commit into
mongodb:masterfrom
comandeo-mongo:ruby-3731-schedule-ruby-dev
Jun 30, 2026
Merged

RUBY-3731 Run ruby-dev build on a bi-weekly schedule#3068
comandeo-mongo merged 1 commit into
mongodb:masterfrom
comandeo-mongo:ruby-3731-schedule-ruby-dev

Conversation

@comandeo-mongo

Copy link
Copy Markdown
Contributor

Jira: https://jira.mongodb.org/browse/RUBY-3731

What

Make the ruby-dev build variant test master against the upcoming Ruby
version on a regular schedule, instead of on every commit, and document how
failures are reported to Jira.

The ruby-dev variant already existed and already runs off pull requests (it
carries no pr tag, so the PR alias skips it). The only gap was the cadence
and the failure-reporting story.

Changes

Scheduling:

  • .evergreen/config/standard.yml.erb — add batchtime: 20160 (14 days) to
    the ruby-dev variant's task, so Evergreen activates it at most once every
    two weeks. This matches the repo's existing 14-day convention.
  • .evergreen/config.yml — regenerated from the ERB templates (rake eg).
    Do not edit by hand.

Failure reporting (docs only):

  • .evergreen/README.md — new "Scheduled ruby-dev build" section. The
    Jira-issue-on-failure requirement is an Evergreen project notification, not
    repo config, so it is documented for a project admin to configure once:
    task-failure scoped to the ruby-dev variant, action "Create a Jira issue"
    in project RUBY. Evergreen populates the issue with the variant (Ruby
    version), version/commit, and links to the failed tasks.

Test plan

  • rake eg regenerates config.yml; diff is only the batchtime line
    plus the explanatory comment.
  • evergreen validate .evergreen/config.yml -> "valid with warnings"
    (the warnings are pre-existing, for commented-out gcpkms/azurekms/lambda
    tasks).
  • [n/a] No RSpec specs: this is Evergreen CI configuration with no Ruby code
    or runtime behavior change, so there is nothing in spec/ to exercise.

Follow-up (manual, not in this PR)

A project admin must create the Evergreen notification described in the
README. It cannot be committed because it lives in project settings.

The ruby-dev variant tests master against the upcoming Ruby version. It
already runs off-PR (no "pr" tag), but on every master commit. Add
batchtime: 20160 (14 days) so it runs on a ~2-week cadence instead.

Document in .evergreen/README.md the project notification a project
admin must configure so failures open a RUBY Jira issue with the Ruby
version, commit hash, and list of failures.
@comandeo-mongo comandeo-mongo added the tracked-in-jira Ticket filed in Mongo's Jira system label Jun 25, 2026
@comandeo-mongo comandeo-mongo marked this pull request as ready for review June 30, 2026 11:04
@comandeo-mongo comandeo-mongo requested a review from a team as a code owner June 30, 2026 11:04
Copilot AI review requested due to automatic review settings June 30, 2026 11:04
@comandeo-mongo comandeo-mongo merged commit 5abaea9 into mongodb:master Jun 30, 2026
219 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts Evergreen CI scheduling so the existing ruby-dev build variant runs less frequently on master, and documents the (manual) Evergreen notification setup to file Jira issues when scheduled runs fail.

Changes:

  • Adds batchtime: 20160 (14 days) to the ruby-dev variant’s run-main-test-suite task in the Evergreen ERB template.
  • Regenerates .evergreen/config.yml to reflect the template change (and adds the same explanatory comment).
  • Documents the scheduled ruby-dev intent and the required Evergreen UI notification configuration in .evergreen/README.md.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.evergreen/README.md Documents the purpose/cadence of the scheduled ruby-dev variant and how to configure Jira issue creation on failures in Evergreen UI.
.evergreen/config/standard.yml.erb Adds a bi-weekly batchtime for the ruby-dev variant task and annotates the rationale.
.evergreen/config.yml Regenerated Evergreen config reflecting the ruby-dev batchtime change and comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tracked-in-jira Ticket filed in Mongo's Jira system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants